from models.records import Record
from schemas import ma

class RecordSchema(ma.SQLAlchemySchema):
    class Meta:
        model = Record
    id = ma.auto_field() 
    name = ma.auto_field()
    description = ma.auto_field()
    time = ma.auto_field() 
    status = ma.auto_field()
    task_id = ma.auto_field() 
